package com.cyq.blog.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author chenyeqing
 * @Date 2021/5/19 20:22
 */
@Data
public class Comment implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    private String commentId;
    private String blogId;
    private String commentator;
    private String email;
    private String phone;
    private String commentBody;
    @TableField(fill = FieldFill.INSERT)
    private Date commentCreateTime;
    private String commentatorIp;
    private String replyBody;
    private Date replyCreateTime;
    private String commentStatus;
    @TableLogic(value = "0", delval = "1")
    private String isDeleted;

}
